﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001299 RID: 4761
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingGiveUpGameCsReq : IMessage<SwordTrainingGiveUpGameCsReq>, IMessage, IEquatable<SwordTrainingGiveUpGameCsReq>, IDeepCloneable<SwordTrainingGiveUpGameCsReq>, IBufferMessage
	{
		// Token: 0x17003C50 RID: 15440
		// (get) Token: 0x0600D57A RID: 54650 RVA: 0x0023E383 File Offset: 0x0023C583
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingGiveUpGameCsReq> Parser
		{
			get
			{
				return SwordTrainingGiveUpGameCsReq._parser;
			}
		}

		// Token: 0x17003C51 RID: 15441
		// (get) Token: 0x0600D57B RID: 54651 RVA: 0x0023E38A File Offset: 0x0023C58A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingGiveUpGameCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C52 RID: 15442
		// (get) Token: 0x0600D57C RID: 54652 RVA: 0x0023E39C File Offset: 0x0023C59C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingGiveUpGameCsReq.Descriptor;
			}
		}

		// Token: 0x0600D57D RID: 54653 RVA: 0x0023E3A3 File Offset: 0x0023C5A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingGiveUpGameCsReq()
		{
		}

		// Token: 0x0600D57E RID: 54654 RVA: 0x0023E3AB File Offset: 0x0023C5AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingGiveUpGameCsReq(SwordTrainingGiveUpGameCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D57F RID: 54655 RVA: 0x0023E3C4 File Offset: 0x0023C5C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingGiveUpGameCsReq Clone()
		{
			return new SwordTrainingGiveUpGameCsReq(this);
		}

		// Token: 0x0600D580 RID: 54656 RVA: 0x0023E3CC File Offset: 0x0023C5CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingGiveUpGameCsReq);
		}

		// Token: 0x0600D581 RID: 54657 RVA: 0x0023E3DA File Offset: 0x0023C5DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingGiveUpGameCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600D582 RID: 54658 RVA: 0x0023E3F8 File Offset: 0x0023C5F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D583 RID: 54659 RVA: 0x0023E41E File Offset: 0x0023C61E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D584 RID: 54660 RVA: 0x0023E426 File Offset: 0x0023C626
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D585 RID: 54661 RVA: 0x0023E42F File Offset: 0x0023C62F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D586 RID: 54662 RVA: 0x0023E448 File Offset: 0x0023C648
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D587 RID: 54663 RVA: 0x0023E46E File Offset: 0x0023C66E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingGiveUpGameCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D588 RID: 54664 RVA: 0x0023E48B File Offset: 0x0023C68B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D589 RID: 54665 RVA: 0x0023E494 File Offset: 0x0023C694
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400555D RID: 21853
		private static readonly MessageParser<SwordTrainingGiveUpGameCsReq> _parser = new MessageParser<SwordTrainingGiveUpGameCsReq>(() => new SwordTrainingGiveUpGameCsReq());

		// Token: 0x0400555E RID: 21854
		private UnknownFieldSet _unknownFields;
	}
}
